<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <sx:head/>
    <base href="<%=basePath%>">
    
   

  </head>
  
  <body>
   <center>
    <div>
          <s:form action="file_folderAdd" method="post" namespace="/file">
             文件夹名：<s:textfield name="fileinfo.filename" value="" /><br/>
             <!-- 类型：文件夹 -->
             <s:hidden name="fileinfo.filetypeinfo.filetypeid" value="1"/>
             位置：<s:property value="%{fileinfo.filepath}"/>\<s:property value="%{fileinfo.filename}" />
             <!-- 文件路径 -->
             <s:hidden name="fileinfo.filepath" value="%{fileinfo.filepath}"></s:hidden>
             <s:hidden name="parentFilename" value="%{fileinfo.filename}"></s:hidden>
             <br/>
             备注：<s:textarea name="fileinfo.remark" value="" /><br/>
             <span>所有者：<s:property value="%{#session.userinfo.username}"/></span>
             <!-- 所有者 -->
             <s:hidden name="fileinfo.userinfo.userid" value="%{#session.userinfo.userid}" />
             <!-- 父节点 -->
             <s:hidden name="fileinfo.parentid" value="%{fileinfo.fileid}" />
             <br/><br/><br/>
             <hr/>
            
             <s:if test="%{#session.where==1}">
             <s:submit value="保存退出" />
               <s:a href="/OAProject/file/tree_findChild?fileid=%{fileinfo.fileid}">不保存退出</s:a>
             </s:if>
             <s:else>
             <sx:submit value="保存退出" targets="mod-right"></sx:submit>
               <sx:a href="/OAProject/file/tree_findChild?fileid=%{fileinfo.fileid}" targets="mod-right">不保存退出</sx:a>
             </s:else>
          </s:form>
    </div>
   </center>
  </body>
</html>
